import http from "@/util/http";

export function getCommentByArticleId(articleId) {
  return http.get(`/comment/${articleId}`);
}

export function addComment(data) {
  return http.post("/comment", data);
}
